package com.unhz.generator.dao;

import com.unhz.generator.pojo.ProductionOrderInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductionOrderInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductionOrderInfo record);

    int insertSelective(ProductionOrderInfo record);

    ProductionOrderInfo selectByPrimaryKey(Long id);



    int updateByPrimaryKeySelective(ProductionOrderInfo record);

    int updateByPrimaryKey(ProductionOrderInfo record);

    List<ProductionOrderInfo> selectByOrderId(@Param("productionId")Long productionId);

    int deleteByProductOrderId(@Param("productOrderId") Integer productOrderId);

    int updateProductionInfo(ProductionOrderInfo productionOrderInfo);

    void deleteProductionInfo(@Param("productOrderId") Long productOrderId);
}